package com.john.design.创建性模型.工厂方法;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2020/8/9 22:35
 */
public abstract class VideoFactory {

    public abstract Video getVideo();


//    public Video buidVideo(String type){
//        if ("java".equalsIgnoreCase(type)) {
//            return new JavaVideo();
//        }else if ("pythod".equalsIgnoreCase(type)){
//            return new PythodVideo();
//        }
//        return null;
//    }
}
